/// @brief #defines, typedefs etc. common to all source code.

#ifndef _CORE_H_20111114
#define _CORE_H_20111114

typedef unsigned int   uint;
typedef unsigned char  uchar;
typedef unsigned short ushort;
typedef unsigned long  ulong;

#ifdef _MSC_VER
  #define ASSERT( _condition )    if ( !_condition ) __asm { int 3 }
  #define _CRT_SECURE_NO_WARNINGS
  #define _SCL_SECURE_NO_WARNINGS
#else
  #ifdef GCC_VERSION
    #define ASSERT( _condition )  if ( !_condition ) __asm__("int 3")
  #else
    #define ASSERT( _condition )
  #endif
#endif

#endif // _CORE_H_20111114
